            <div id="info-bar-small">Gestione modulo navbar</div>
<?php
        if(!isset($_SESSION['utente'])){ 
                exit("Accesso negato"); 
        }
        else {
                include 'connect.php';
                $sql = mysql_query("SELECT * FROM navbar ORDER BY id ASC") or die(mysql_error());
?>
            <div id="main">
                <div id="link-display">
                    <dl>
<?php
                while($row = mysql_fetch_array($sql)) {
?>
                    <dt><?=$row['nav_nome'];?></dt><dd><?=$row['nav_url'];?><div id="floatright"><a href="./revise_navbar.php?id=<?=$row['id'];?>">Modifica</a> -
                    <a href="./includes/delete_link.php?id=<?=$row['id'];?>" onclick="return confirm('Eliminare definitivamente il collegamento?')"> Elimina</a></div></dd><hr>
<?php
                }
        }
?>
                    </dl>
            </div>
